package com.juanjuan.myproject.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 规则表
 * </p>
 *
 * @author zhaocun
 * @since 2023-10-25
 */
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Rule对象", description = "规则表")
@Data
@ColumnWidth(31)
public class Rule implements Serializable {

    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    private Long id;
    @ExcelProperty(value = "key",index = 1)
    private String ruleKey;
    @ExcelProperty(value = "name",index = 0)
    private String name;
    @ExcelProperty(value = "入参",index = 4)
    private String nodes;
    @ExcelProperty(value = "算法内容",index = 2)
    private String sfnr;
    @ExcelIgnore
    private String functionKey;
    @ExcelIgnore
    private String dxbh;
    @ExcelIgnore
    private int isFill;

    @ExcelIgnore
    private int isSusess;
   @ExcelProperty(value = "是否 有逻辑",index = 3)
    private int logic;
    /**
     * 算法类型
     */
    @ExcelIgnore
    private String ruleType;

}
